// samsting : this file is auto create.

#include "Slb/2014-05-15/ModifyLoadBalancerInternetSpecRequest.h"

namespace aliyun { namespace Slb {

ModifyLoadBalancerInternetSpecRequest::ModifyLoadBalancerInternetSpecRequest() : RpcAcsRequest("Slb", "2014-05-15", "ModifyLoadBalancerInternetSpec") {
}

int64 ModifyLoadBalancerInternetSpecRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void ModifyLoadBalancerInternetSpecRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& ModifyLoadBalancerInternetSpecRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void ModifyLoadBalancerInternetSpecRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 ModifyLoadBalancerInternetSpecRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void ModifyLoadBalancerInternetSpecRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& ModifyLoadBalancerInternetSpecRequest::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}
void ModifyLoadBalancerInternetSpecRequest::SetLoadBalancerId(const string& LoadBalancerId) {
  LoadBalancerId_ = LoadBalancerId;
  PutQueryParameter("LoadBalancerId", LoadBalancerId_);
}

const string& ModifyLoadBalancerInternetSpecRequest::GetInternetChargeType(void) const {
  return InternetChargeType_;
}
void ModifyLoadBalancerInternetSpecRequest::SetInternetChargeType(const string& InternetChargeType) {
  InternetChargeType_ = InternetChargeType;
  PutQueryParameter("InternetChargeType", InternetChargeType_);
}

int ModifyLoadBalancerInternetSpecRequest::GetBandwidth(void) const {
  return Bandwidth_;
}
bool ModifyLoadBalancerInternetSpecRequest::SetBandwidth(int Bandwidth) {
  if(Bandwidth < 1) {
    return false;
  }
  if(Bandwidth > 1000) {
    return false;
  }
  Bandwidth_ = Bandwidth;
  PutQueryParameter("Bandwidth", string_ValueOfInt(Bandwidth_));
  return true;
}

const string& ModifyLoadBalancerInternetSpecRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void ModifyLoadBalancerInternetSpecRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& ModifyLoadBalancerInternetSpecRequest::GetMasterZoneId(void) const {
  return MasterZoneId_;
}
void ModifyLoadBalancerInternetSpecRequest::SetMasterZoneId(const string& MasterZoneId) {
  MasterZoneId_ = MasterZoneId;
  PutQueryParameter("MasterZoneId", MasterZoneId_);
}

const string& ModifyLoadBalancerInternetSpecRequest::GetSlaveZoneId(void) const {
  return SlaveZoneId_;
}
void ModifyLoadBalancerInternetSpecRequest::SetSlaveZoneId(const string& SlaveZoneId) {
  SlaveZoneId_ = SlaveZoneId;
  PutQueryParameter("SlaveZoneId", SlaveZoneId_);
}

int ModifyLoadBalancerInternetSpecRequest::GetMaxConnLimit(void) const {
  return MaxConnLimit_;
}
void ModifyLoadBalancerInternetSpecRequest::SetMaxConnLimit(int MaxConnLimit) {
  MaxConnLimit_ = MaxConnLimit;
  PutQueryParameter("MaxConnLimit", string_ValueOfInt(MaxConnLimit_));
}

const string& ModifyLoadBalancerInternetSpecRequest::GetSecurityStatus(void) const {
  return SecurityStatus_;
}
void ModifyLoadBalancerInternetSpecRequest::SetSecurityStatus(const string& SecurityStatus) {
  SecurityStatus_ = SecurityStatus;
  PutQueryParameter("SecurityStatus", SecurityStatus_);
}


} } // namespace aliyun { namespace Slb {

// end of file 
